// ... existing code ...
// 从直接导入改为动态导入
export const Iconify = (props) => {
  const { icon, ...otherProps } = props;
  const Icon = lazy(() => import(`@iconify/icons-mdi/${icon}`));
  return (
    <Suspense fallback={<span>Loading...</span>}>
      <Icon {...otherProps} />
    </Suspense>
  );
};
// ... existing code ...